package simplefactroy;

/**
 * @program: HomeWork
 * @description: 测试
 * @author: hezhiqin
 * @create: 2019-09-24 10:29
 */
public class simpleFactroyTest {
    public static void main(String[] args) {
//        ICourse iCourse = new JavaCourse();
//        iCourse.record();
        CourseFactroy courseFactroy = new CourseFactroy();
        ICourse iCourse = courseFactroy.create("simplefactroy.JavaCourse");
        iCourse.record();
    }
}
